package com.cta.view.json;

public class SiteNodeJson extends BaseJson {

	private String iconCls;
	private boolean leaf;

	public SiteNodeJson(String id, String name, String description) {
		super(id, null, name, description);
	}

	public SiteNodeJson(String id, String obId, String name, String description) {
		super(id, obId, name, description);
	}
	
	public SiteNodeJson(String id , String name, String description, String iconCls, boolean leaf) {
		super(id, null, name, description);
		this.iconCls = iconCls;
		this.leaf = leaf;
	}

	public final String getIconCls() {
		return iconCls;
	}

	public final void setIconCls(String iconCls) {
		this.iconCls = iconCls;
	}

	public final boolean isLeaf() {
		return leaf;
	}

	public final void setLeaf(boolean leaf) {
		this.leaf = leaf;
	}
}
